package com.yvon.boot.log.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * @author : Yvon
 * @since : 2022-05-12
 */
@Data
@ConfigurationProperties(prefix = LogProperties.PREFIX)
public class LogProperties {

    /**
     * 前缀
     */
    public static final String PREFIX = "maple.log";

    /**
     * 是否启用
     */
    private Boolean enable = false;

    /**
     * 记录日志类型
     */
    private LogType logType = LogType.DB;
}
